//
//  ViewController.m
//  GPUImage-OC
//
//  Created by 我演示 on 2019/11/14.
//  Copyright © 2019 ALLSall. All rights reserved.
//

#import "ViewController.h"
#import "GPUImage.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
   
    UIImage *image = [UIImage imageNamed:@"text"];
    
    GPUImagePicture *picProcess = [[GPUImagePicture alloc] initWithImage:image];
    
    // 添加需要处理的滤镜
    GPUImageGaussianBlurFilter *blurFilter = [[GPUImageGaussianBlurFilter alloc] init] ;
    
    //3: 处理图片
    blurFilter.useNextFrameForImageCapture;
    
    picProcess.processImage;
    
    // 取出图片
    UIImage *newImge =
   
}


@end
